//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import { createApp } from 'vue'
import  pinia from './stores'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey =
  'AAPTxy8BH1VEsoebNVZXo8HurCLgqecZsY-HMkJ0QtkfA3_uoa4xaZssf5mMTLPlBuivWdmK7jy_FCVGUHL5OZ-QGK-vxIqD4OZe1T9xa390Yr1JqyqTA5Bt4U3aBr9guucQnf61FVSlGJEY3PUkTh0P1-_K_FIf40pZklEfloFDvqe4t8dNZBCNDsJ3nYLolSp8t2JAocsElN3wpCcmcymoTl6vEGTmFHp0XSsjIQaaFJpRNk4YKZFTqbPMR_5LmJb_AT1_7xEhnkNc'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
